package com.example.dqnm.pojo;

public class UserAddress {
    // 用户id
    private Integer userid;
    // 用户地址
    private Shippingaddress shippingaddress;

    public UserAddress() {
    }

    public UserAddress(Integer userid, Shippingaddress shippingaddress) {
        this.userid = userid;
        this.shippingaddress = shippingaddress;
    }

    @Override
    public String toString() {
        return "UserAddress{" +
                "userid=" + userid +
                ", shippingaddress=" + shippingaddress +
                '}';
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Shippingaddress getShippingaddress() {
        return shippingaddress;
    }

    public void setShippingaddress(Shippingaddress shippingaddress) {
        this.shippingaddress = shippingaddress;
    }
}
